package Gui;

import javax.swing.JPanel;
import javax.swing.JButton;

import client.ChatClient;

import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class MainWindowSecretary1 extends JPanel 
{
	public Secretry main_frame;

	
	public MainWindowSecretary1(Secretry a) 
	{
		main_frame=a;
		JButton button = new JButton("Definition Of Course");
		button.setBounds(39, 11, 358, 49);
		button.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				
				main_frame.update_panel(1,2);
			}
		});
		setLayout(null);
		add(button);
		
		JButton button_1 = new JButton("Definition Of Class");
		button_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) 
			{
				main_frame.update_panel(1,6);
			}
		});
		button_1.setBounds(39, 67, 358, 49);
		add(button_1);
		
		JButton button_2 = new JButton("Planing Semester");
		button_2.setBounds(39, 127, 358, 49);
		add(button_2);
		
		JButton button_3 = new JButton("Instruction Department");
		button_3.setBounds(39, 187, 358, 49);
		add(button_3);
		
		JButton button_4 = new JButton("Freeze/Unfreeze Parent");
		button_4.setBounds(39, 240, 358, 49);
		add(button_4);
	}

}
